From: Colin Walters Date: Wed, 19 Jul 2017 13:21:23 +0000 (-0400) Subject: ci/papr: Add a suite to run introspection-based tests without ASAN X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~34^2~9 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=cf6c15a6c5bf75bc160c77d3bd302c9c02563455;p=ostree.git ci/papr: Add a suite to run introspection-based tests without ASAN Unfortunately we can't do gobject-introspection based tests while compiling with `-fsanitize=address`, since it needs to hook `malloc` early on. Add a new suite which just runs the introspection-based tests without ASAN. Closes: #1016 Approved by: jlebon --- diff --git a/.papr.yml b/.papr.yml index 32d2b224..bd4ff47b 100644 --- a/.papr.yml +++ b/.papr.yml @@ -91,6 +91,22 @@ tests: --- +inherit: true +required: true + +context: f26-introspection-tests + +env: + CONFIGOPTS: "--with-curl --with-openssl" + # ASAN conflicts with introspection testing; + # See https://github.com/ostreedev/ostree/issues/1014 + INSTALLED_TESTS_PATTERN: "libostree/test-sizes.js libostree/test-sysroot.js libostree/test-core.js libostree/test-corrupt-repo-ref.js" + +tests: + - ci/build-check.sh + +--- + inherit: false branches: - master diff --git a/ci/build-check.sh b/ci/build-check.sh index 677515b3..0e12000f 100755 --- a/ci/build-check.sh +++ b/ci/build-check.sh @@ -11,7 +11,7 @@ make syntax-check # TODO: do syntax-check under check # And now run the installed tests make install if test -x /usr/bin/gnome-desktop-testing-runner; then - gnome-desktop-testing-runner -p 0 libostree/ + gnome-desktop-testing-runner -p 0 ${INSTALLED_TESTS_PATTERN:-libostree/} fi if test -x /usr/bin/clang; then